namespace SimpleWebServices.Web
{
    using System;
    using System.Web;
    using Xunit;

    public sealed class IWwwAuthenticateFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(typeof(IWwwAuthenticate).IsInterface);
        }

        [Fact]
        public void IWwwAuthenticate_Challenge_HttpContextBase()
        {
            try
            {
                string value = (new IWwwAuthenticateDummy() as IWwwAuthenticate).Challenge(null as HttpContextBase);
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }
    }
}